/*
 *  WeiboBase.h
 *  ShareDemo
 *
 *  Created by kai ren on 26/09/2011.
 *  Copyright 2011 none. All rights reserved.
 *
 */

#import "NSURL+QAdditions.h"
#import "QOauthKey.h"
#import "QWeiboRequest.h"
#import "WeiboController.h"
#import "LogInController.h"

#define TencentAppKey			@"801063725"
#define TencentAppSecret		@"72d3a63d49fc21c66e6809a1748267f1"

#define TencentTokenUrl			@"https://open.t.qq.com/cgi-bin/request_token"
#define TencentVerifyUrl		@"http://open.t.qq.com/cgi-bin/authorize?oauth_token="
#define TencentAccessUrl		@"https://open.t.qq.com/cgi-bin/access_token"
#define TencentShareUrl			@"http://open.t.qq.com/api/t/add"
#define TencentInfoUrl			@"http://open.t.qq.com/api/user/info"

#define TENCENT_OAUTH_CACHE		@"TencentOAuth.Cache"

#define SinaAppKey				@"2786213758"
#define SinaAppSecret			@"87b24a679c6de898355f897a157f0917"

#define SinaTokenUrl			@"http://api.t.sina.com.cn/oauth/request_token"
#define SinaVerifyUrl			@"http://api.t.sina.com.cn/oauth/authorize?oauth_token="
#define SinaAccessUrl			@"http://api.t.sina.com.cn/oauth/access_token"
#define SinaShareUrl			@"http://api.t.sina.com.cn/statuses/update.json"

#define SINA_OAUTH_CACHE		@"SinaOAuth.Cache"

#define TOKEN_KEY				@"oauth_token"
#define TOKEN_SECRET			@"oauth_token_secret"
#define VERIFIER				@"Verifier"
#define USER_NAME				@"name"
#define USER_ID					@"user_id"
#define USER_NICK				@"nick"